package com.aaa.service;

import com.aaa.entity.Book;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BookService {
    PageInfo findBook(String dynName, String docName,
                        String grand, String bookName,
                        String introduce, String memo,
                        int page, int size);
    Map findBookById(int bookId);
    int updateBook(Book book);
    int bookAdd(Book book);
    List<Map> findBookDesc();
    int bookDel(int bookId);
    List<Map> checkBook(String bookName);
    PageInfo findBookRepeat(int page,int size);
}
